.data


.text
li $v0 5
syscall

li $t0,004
divu $v0,$t0
mfhi $a0
bne $a0,$zero,fouse
beq $a0,$zero,judge
judge:
li $t0,100
divu $v0,$t0
mfhi $a0
beq $a0,$zero,fouse
j true

fouse:
li $t0,400
divu $v0,$t0
mfhi $a0
beq $a0,$zero,true
li $a0,000
li $v0,1
syscall
li $v0,10
syscall


true:
li $a0,001
li $v0,1
syscall
li $v0,10
syscall
